package com.example.lab2;

import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix = "sai.auto")
public class CustomProperties {

    /**
    自动配置是否生效
    */
    private boolean enable;
    public boolean isEnable(){return enable;}
    public void setEnable(boolean enable){
        System.out.println("CustomProperties");
        this.enable=enable;
    }

}
